-- GENERATED SPELL FOR [Rogue Black Drake] --


function spell0_14388(pUnit, Event) --@Flame Breath,n/a--
pUnit:FullCastSpellOnTarget(8873,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_14388', 1700, 1)
end

function Sorts_14388(pUnit, Event)
local choix_sorts_14388 = math.random(0, 0)
if choix_sorts_14388 == 0 then
pUnit:RegisterEvent('spell0_14388', 1, 1)
end
end

function mob14388_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_14388', math.random(1500, 3000), 1)
end

function mob14388_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob14388_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob14388_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(14388, 1, 'mob14388_Action')
RegisterUnitEvent(14388, 2, 'mob14388_Leave')
RegisterUnitEvent(14388, 3, 'mob14388_Kill')
RegisterUnitEvent(14388, 4, 'mob14388_Die')
